package park.model;

public class DepartVO {
	private String depart;
	private String tel;
	private String position;
	private String chief;
	private String hiredate;
	
	public DepartVO( String depart, 
			String tel, String position, 
			String chief, String hiredate ) {
		this.depart = depart;
		this.tel = tel;
		this.position = position;
		this.chief = chief;
		this.hiredate = hiredate;		
	}
	
	// private xxx yyy;
	// public void setYyy( xxx yyy ) {
	//		this.yyy = yyy;
	// }
	public void setDepart( String depart ) {
		this.depart = depart;
	}
	public void setTel( String tel ) {
		this.tel = tel;
	}	
	public void setPosition( String position ) {
		this.position = position;
	}	
	public void setChief( String chief ) {
		this.chief = chief;
	}	
	public void setHiredate( String hiredate ) {
		this.hiredate = hiredate;
	}	
	
	// private xxx yyy;
	// public xxx getYyy() {
	// 	return yyy;
	// }
	public String getDepart() {
		return depart;
	}
	public String getTel() {
		return tel;
	}	
	public String getPosition() {
		return position;
	}	
	public String getChief() {
		return chief;
	}	
	public String getHiredate() {
		return hiredate;
	}
	
	@Override
	public String toString() {
		String result ="";
		result += depart + "/" + tel + "/"
					+ position + "/" + chief + "/"
					+ hiredate;
		return result;
	}
	
	
	
} // class




